package DemoPhone;

public class Demdotest {

    public static void main(String[]args)
    {
        //创建类
        //赋值
        Phone apple=new Phone();
        apple.brand="苹果";
        apple.price=7999.9;
        apple.color="blank";
        System.out.println(apple.brand);
        System.out.println(apple.price);
        System.out.println(apple.color);
        //调用类方法
        apple.call("张三");
        apple.message("李四");
    }

}
